package com.hp.dao;

import com.hp.entity.Link;
import com.hp.entity.PolularScienceResources;

import java.util.List;

public interface PolularScienceResourcesDao {


    public void saveresource(PolularScienceResources polularScienceResources) throws Exception;

    public List<PolularScienceResources> getAllAndIsN(PolularScienceResources polularScienceResources) throws Exception;

    public PolularScienceResources findById(String s)throws Exception;

    public void updateresource(PolularScienceResources polularScienceResources)throws Exception;

   // public PolularScienceResources getTypelink(String id)throws Exception;

    public void deleteById(int id)throws Exception;

    //状态
    //public void addsum(String typeid)throws Exception;

    public void updateStatus(PolularScienceResources polularScienceResources)throws Exception;

    public PolularScienceResources xiugai(int id) throws Exception;
}
